.sakura-image-container {
  display: inline-block;
  position: relative;
  
  .t-image {
    cursor: pointer;
    transition: all 0.3s ease;
    
    &:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .t-image__inner {
      border-radius: 4px;
      overflow: hidden;
    }
    
    .t-image__error {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f5f5f5;
      color: #999;
      font-size: 12px;
    }
    
    .t-image__loading {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f5f5f5;
    }
  }
  
  &.circle {
    .t-image__inner {
      border-radius: 50%;
    }
  }
  
  &.round {
    .t-image__inner {
      border-radius: 8px;
    }
  }
  
  &.square {
    .t-image__inner {
      border-radius: 4px;
    }
  }
}

.t-image-viewer {
  .t-image-viewer__modal {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .t-image-viewer__content {
    .t-image-viewer__image {
      max-width: 90vw;
      max-height: 90vh;
    }
  }
  
  .t-image-viewer__toolbar {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    
    .t-image-viewer__toolbar-item {
      color: #fff;
      
      &:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }
    }
  }
}
